home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.5 / Examples / Locale / Languages / internal / languagedrivers.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-20  |  2.0 KB  |  65 lines

  1. #ifndef LOCALE_LANGUAGEDRIVERS_H
  2. #define LOCALE_LANGUAGEDRIVERS_H
  3. /*
  4. **      $VER: languagedrivers.h 38.1 (26.10.1991)
  5. **
  6. **      language driver stuff for locale.library
  7. **
  8. **      (C) Copyright 1991-1999 Amiga, Inc.
  9. **          All Rights Reserved
  10. */
  11.  
  12. /*****************************************************************************/
  13.  
  14.  
  15. /* Functions implemented by a driver. These values are used in the longword
  16.  * returned by the GetDriverInfo() entry point of a language driver.
  17.  *
  18.  * The value returned by GetDriverInfo() specifies which function this driver
  19.  * implements. If any functions are not implemented, then the equivalent
  20.  * functions in locale.library are used instead. These built-in functions
  21.  * are for the english language.
  22.  */
  23. #define GDIB_CONVTOLOWER    0
  24. #define GDIB_CONVTOUPPER    1
  25. #define GDIB_GETCODESET     2
  26. #define GDIB_GETLOCALESTR   3
  27. #define GDIB_ISALNUM        4
  28. #define GDIB_ISALPHA        5
  29. #define GDIB_ISCNTRL        6
  30. #define GDIB_ISDIGIT        7
  31. #define GDIB_ISGRAPH        8
  32. #define GDIB_ISLOWER        9
  33. #define GDIB_ISPRINT        10
  34. #define GDIB_ISPUNCT        11
  35. #define GDIB_ISSPACE        12
  36. #define GDIB_ISUPPER        13
  37. #define GDIB_ISXDIGIT       14
  38. #define GDIB_STRCONVERT     15
  39. #define GDIB_STRNCMP        16
  40.  
  41. #define GDIF_CONVTOLOWER    (1<<0)
  42. #define GDIF_CONVTOUPPER    (1<<1)
  43. #define GDIF_GETCODESET     (1<<2)
  44. #define GDIF_GETLOCALESTR   (1<<3)
  45. #define GDIF_ISALNUM        (1<<4)
  46. #define GDIF_ISALPHA        (1<<5)
  47. #define GDIF_ISCNTRL        (1<<6)
  48. #define GDIF_ISDIGIT        (1<<7)
  49. #define GDIF_ISGRAPH        (1<<8)
  50. #define GDIF_ISLOWER        (1<<9)
  51. #define GDIF_ISPRINT        (1<<10)
  52. #define GDIF_ISPUNCT        (1<<11)
  53. #define GDIF_ISSPACE        (1<<12)
  54. #define GDIF_ISUPPER        (1<<13)
  55. #define GDIF_ISXDIGIT       (1<<14)
  56. #define GDIF_STRCONVERT     (1<<15)
  57. #define GDIF_STRNCMP        (1<<16)
  58.  
  59. #define ALL_FUNCS        0x0001ffff
  60.  
  61. /*****************************************************************************/
  62.  
  63.  
  64. #endif  /* LOCALE_LANGUAGEDRIVERS_H */
  65.